import { tableServiceInterface } from "@/common/interface/table.interface";
import {
  $mscPanelList,
  $mscPanelDetail,
  $mscPanelAdd,
  $mscPanelEdit,
  $mscPanelDelete
} from "@/apis/mscPanel/mscPanel";
import {
  mscPanelListInterface,
  mscPanelAddInterface,
  mscPanelEditInterface
} from "@/apis/mscPanel/mscPanel.interface";
export default class MusicAndroidPanelService implements tableServiceInterface {
  async getTable(e: mscPanelListInterface): Promise<any> {
    return $mscPanelList(e);
  }
  deleteMultiple(e: Array<number>): Promise<any> {
    return $mscPanelDelete(e);
  }
  edit(e: mscPanelEditInterface): Promise<any> {
    return $mscPanelEdit(e);
  }
  add(e: mscPanelAddInterface): Promise<any> {
    return $mscPanelAdd(e);
  }
  detail(id: number): Promise<any> {
    return $mscPanelDetail(id);
  }
}